package com.wanmait.recruitment.service;

import com.github.pagehelper.PageInfo;
import com.wanmait.recruitment.pojo.Collection;
import com.wanmait.recruitment.pojo.Job;
import com.wanmait.recruitment.pojo.Userinfo;

import java.util.List;

public interface CollectionService extends CommonService<Collection> {
    Collection findByJobAndUserinfo(Job job, Userinfo userinfo);
    void deleteByColl(Collection collection);
    PageInfo<Collection> findByUserinfo(Userinfo userinfo);
}
